# coding:utf-8
'''

'''
from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy

__author__ = 'hoyt'

app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://postgres:root@localhost:5432/postgres' #当前目录下app.dbo数据库
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
app.config['UPLOAD_FOLDER'] = './upload/'
app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
db = SQLAlchemy(app)
